package org.opsli.api.wrapper.business.patrolRouteRecord;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.plugins.excel.annotation.ExcelInfo;

@Data
@EqualsAndHashCode(callSuper = false)
public class DailyInspectionReportModel extends ApiWrapper {
    //巡检员
    @ApiModelProperty(value = "巡检员")
    @ExcelProperty(value = "巡检员", order = 1)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String userName;

    //巡线次数-基准线路名称
    @ApiModelProperty(value = "巡线次数")
    @ExcelProperty(value = "巡线次数", order = 2)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String routeName;

    //总共巡线时间-开始时间
    @ApiModelProperty(value = "巡线开始时间")
    @ExcelProperty(value = "巡线开始时间", order = 3)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String beginTime;

    //总共巡线时间-结束时间
    @ApiModelProperty(value = "巡线结束时间")
    @ExcelProperty(value = "巡线结束时间", order = 4)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String endTime;

    //巡线距离-轨迹
    @ApiModelProperty(value = "巡线距离")
    @ExcelProperty(value = "巡线距离", order = 5)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String trail;

    //巡点次数
    @ApiModelProperty(value = "巡点次数")
    @ExcelProperty(value = "巡点次数", order = 6)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String stationName;

    //主阀门井次数-1是主阀井,2是支阀井,3是调压柜,4调压箱
    @ApiModelProperty(value = "主阀门井")
    @ExcelProperty(value = "主阀门井", order = 7)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String type;

    //巡点最新检查时间
    @ApiModelProperty(value = "巡点最新检查时间")
    @ExcelProperty(value = "巡点最新检查时间", order = 8)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String lastTime;
}
